Linux jobworks 6.8.0-136-generic #136-Ubuntu SMP PREEMPT_DYNAMIC Wed Jul 1 21:53:05 UTC 2026 x86_64
Apache/2.4.58 (Ubuntu)
Server IP : 10.0.1.5 & Your IP : 216.73.217.52
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
doc /
bpfcc-tools /
examples /
networking /
Delete
Unzip
Name
Size
Permission
Date
Action
distributed_bridge
[ DIR ]
drwxr-xr-x
2025-11-05 21:34
http_filter
[ DIR ]
drwxr-xr-x
2025-11-05 21:34
neighbor_sharing
[ DIR ]
drwxr-xr-x
2025-11-05 21:34
tunnel_monitor
[ DIR ]
drwxr-xr-x
2025-11-05 21:34
vlan_learning
[ DIR ]
drwxr-xr-x
2025-11-05 21:34
xdp
[ DIR ]
drwxr-xr-x
2025-11-05 21:34
net_monitor.py
3.74
KB
-rwxr-xr-x
2023-12-08 15:36
simple_tc.py
852
B
-rwxr-xr-x
2023-12-08 15:36
simulation.py
5.13
KB
-rw-r--r--
2023-12-08 15:36
sockmap.py
3.47
KB
-rwxr-xr-x
2023-12-08 15:36
tc_perf_event.py
2.52
KB
-rwxr-xr-x
2023-12-08 15:36
Save
Rename
#!/usr/bin/python # Copyright (c) PLUMgrid, Inc. # Licensed under the Apache License, Version 2.0 (the "License") from bcc import BPF from pyroute2 import IPRoute ipr = IPRoute() text = """ int hello(struct __sk_buff *skb) { return 1; } """ try: b = BPF(text=text, debug=0) fn = b.load_func("hello", BPF.SCHED_CLS) ipr.link("add", ifname="t1a", kind="veth", peer="t1b") idx = ipr.link_lookup(ifname="t1a")[0] ipr.tc("add", "ingress", idx, "ffff:") ipr.tc("add-filter", "bpf", idx, ":1", fd=fn.fd, name=fn.name, parent="ffff:", action="ok", classid=1) ipr.tc("add", "sfq", idx, "1:") ipr.tc("add-filter", "bpf", idx, ":1", fd=fn.fd, name=fn.name, parent="1:", action="ok", classid=1) finally: if "idx" in locals(): ipr.link("del", index=idx) print("BPF tc functionality - SCHED_CLS: OK")